/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-03 08:34:54
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-03 10:30:10
 */
public class Test {

    public static void main(String[] args){
        int day = 0;
        float money = 0;
        while(money <= 100){
           day = day + 1;
           money = (float)(money + 2.5);
           if(day % 5 == 0){
            money -= 6;
           }
            System.out.println("第"+day+"天,余额为"+money);
        }
    }
    
}

